﻿using CoreDemo.IServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CoreDemo.Services
{
    public class TransientDemo : ITransientDemo
    {
        public int count = 0;

        public TransientDemo()
        {
            count++;
        }

        public int getConut()
        {
            return count++;
        }
    }
}
